/*
 * Created by: Peter Weissbrod
 * Created: Friday, November 09, 2007
 */
using System;
using EntityLayer.Entities;

namespace Controllers
{
    /// <summary>
    /// these are gestures that the view can send to the controller
    /// </summary>
    public interface ICourseManagementView:IView
    {
        event EventHandler<CourseEventArgs> CreateCourseEvent;
        event EventHandler<CourseEventArgs> UpdateCourseEvent;
    }
    /// <summary>
    /// this is the information encapsulated within the gestures
    /// </summary>
    public class CourseEventArgs:EventArgs
    {
        private readonly Course course;
        public Course Course
        {
            get { return course; }
        }
        public CourseEventArgs(Course course)
        {
            this.course = course;
        }
    }
}